package com.kelaite.procurement.dto;

public class VendorUserDTO {

	private Long id;

	private VendorDTO tVendor;

	private UserDTO tUser;

	private Integer businessType; // 0：甲方 1：已方

	private Integer status; // 0：无效 1：有效

	private boolean isDefaultVendor;

	public VendorUserDTO() {

	}

	public Long getId() {

		return id;
	}

	public void setId(Long id) {

		this.id = id;
	}

	public VendorDTO gettVendor() {

		return tVendor;
	}

	public void settVendor(VendorDTO tVendor) {

		this.tVendor = tVendor;
	}

	public UserDTO gettUser() {

		return tUser;
	}

	public void settUser(UserDTO tUser) {

		this.tUser = tUser;
	}

	public Integer getBusinessType() {

		return businessType;
	}

	public void setBusinessType(Integer businessType) {

		this.businessType = businessType;
	}

	public Integer getStatus() {

		return status;
	}

	public void setStatus(Integer status) {

		this.status = status;
	}

	public boolean isDefaultVendor() {

		return isDefaultVendor;
	}

	public void setDefaultVendor(boolean isDefaultVendor) {

		this.isDefaultVendor = isDefaultVendor;
	}

	@Override
	public String toString() {

		return "VendorUserDTO [id=" + id + ", tVendor=" + tVendor + ", tUser="
				+ tUser + ", businessType=" + businessType + ", status="
				+ status + ", isDefaultVendor=" + isDefaultVendor + "]";
	}

}
